Just queue_resize()ing the range itself doesn't work as it will just
re-allocate all the child widgets (i.e. just the trough) to its old
position and size.
update_fill_position (range);
update_highlight_position (range);
- gtk_widget_queue_resize (GTK_WIDGET (range));
+ gtk_widget_queue_resize (priv->trough_widget);
g_object_notify_by_pspec (G_OBJECT (range), properties[PROP_INVERTED]);
}
_gtk_range_set_stop_values (GTK_RANGE (scale), values, n);
+ if (priv->top_marks_widget)
+ gtk_widget_queue_resize (priv->top_marks_widget);
+
+ if (priv->bottom_marks_widget)
+ gtk_widget_queue_resize (priv->bottom_marks_widget);
+
g_free (values);
}
else if (strcmp (pspec->name, "adjustment"))